<script setup>
import { onLaunch, onLoad } from '@dcloudio/uni-app'
import { PageUtil } from '@/utils/PageUtil'
import { ref } from 'vue'

onLaunch(() => {
  PageUtil.disposeEvents()
})

const kb_h = ref(0)

const onKeyBoardChange = function(e) {
  kb_h.value = e['height']
}

onLoad(() => {
  uni.offKeyboardHeightChange(onKeyBoardChange)
  uni.onKeyboardHeightChange(onKeyBoardChange)
  // #ifdef APP
  plus.cache.clear()
  // #endif
})
</script>

<style lang="scss">
@import '@/uni_modules/uni-scss/index.scss';
@import "@/assets/index.scss";
@import "@/assets/app.scss";
</style>
